package com.wuyoucar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 实名认证表
 */
public class TReal implements Serializable {
    private Integer id;//主键
    private String realname;//真实姓名
    private Integer sex;//性别
    private Date birthday;//出生日期
    private String idnumber;//身份证号
    private String address;//地址
    private Integer statecode;//状态码
    private String frontidcard;//正面照
    private String backidcard;//反面照
    private Date applytime;//审核时间
    private Date auditingtime;//审核时间
    private Integer applyerid;//申请人id;
    private Integer auditerid;//审核人id
    private Date lastmodifytime;//最后一次修改时间

    public TReal() {
    }

    public TReal(String realname, Integer sex, Date birthday, String idnumber, String address, String frontidcard, Integer applyerid) {
        this.realname = realname;
        this.sex = sex;
        this.birthday = birthday;
        this.idnumber = idnumber;
        this.address = address;
        this.frontidcard = frontidcard;
        this.applyerid = applyerid;
    }

    public TReal(Integer id, String realname, Integer sex, Date birthday,
                 String idnumber, String address, Integer statecode, String frontidcard,
                 String backidcard, Date applytime, Date auditingtime,
                 Integer applyerid, Integer auditerid, Date lastmodifytime) {
        this.id = id;
        this.realname = realname;
        this.sex = sex;
        this.birthday = birthday;
        this.idnumber = idnumber;
        this.address = address;
        this.statecode = statecode;
        this.frontidcard = frontidcard;
        this.backidcard = backidcard;
        this.applytime = applytime;
        this.auditingtime = auditingtime;
        this.applyerid = applyerid;
        this.auditerid = auditerid;
        this.lastmodifytime = lastmodifytime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getStatecode() {
        return statecode;
    }

    public void setStatecode(Integer statecode) {
        this.statecode = statecode;
    }

    public String getFrontidcard() {
        return frontidcard;
    }

    public void setFrontidcard(String frontidcard) {
        this.frontidcard = frontidcard;
    }

    public String getBackidcard() {
        return backidcard;
    }

    public void setBackidcard(String backidcard) {
        this.backidcard = backidcard;
    }

    public Date getApplytime() {
        return applytime;
    }

    public void setApplytime(Date applytime) {
        this.applytime = applytime;
    }

    public Date getAuditingtime() {
        return auditingtime;
    }

    public void setAuditingtime(Date auditingtime) {
        this.auditingtime = auditingtime;
    }

    public Integer getApplyerid() {
        return applyerid;
    }

    public void setApplyerid(Integer applyerid) {
        this.applyerid = applyerid;
    }

    public Integer getAuditerid() {
        return auditerid;
    }

    public void setAuditerid(Integer auditerid) {
        this.auditerid = auditerid;
    }

    public Date getLastmodifytime() {
        return lastmodifytime;
    }

    public void setLastmodifytime(Date lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }

    @Override
    public String toString() {
        return "TReal{" +
                "id=" + id +
                ", realname='" + realname + '\'' +
                ", sex=" + sex +
                ", birthday=" + birthday +
                ", idnumber='" + idnumber + '\'' +
                ", address='" + address + '\'' +
                ", statecode=" + statecode +
                ", frontidcard='" + frontidcard + '\'' +
                ", backidcard='" + backidcard + '\'' +
                ", applytime=" + applytime +
                ", auditingtime=" + auditingtime +
                ", applyerid=" + applyerid +
                ", auditerid=" + auditerid +
                ", lastmodifytime=" + lastmodifytime +
                '}';
    }
}
